package com.east.spark.parttern.afactory;

public class Client {

	public static void main(String[] args) {

		/**
		 * 创建工厂
		 */
		IAbstractFactory factory = new SmsSendFactory();
		/**
		 * 生产产品
		 */
		Sender sender = factory.produce();
		/**
		 * 执行业务逻辑
		 */
		sender.send();
	}

}
